package com.example.wujinapi.entity.wangeditor;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

//wangEditor指定返回的数据格式
@Data
public class wangEditorUploadimageSuccessJsonResult<T> extends wangEditorJsonResult<T> {

    //返回状态码 0 或 1
    private Integer errno;

    @JsonIgnore
    private String message;

    //返回数据
    private T data;

    public wangEditorUploadimageSuccessJsonResult(Integer errno, T data) {
       super(errno,data);
        this.errno=errno;
        this.data=data;
    }
}
